package cn.sherer.beans.weixin;

import java.io.Serializable;

/**
 * 微信消息返回结果
 */
public class WxMsgResult implements Serializable {
    private String nonce;
    private String timestamp;
    private Boolean isEncrypt;
    private String toUserName;
    private String openId;
    private String fromUserName;
    private String msgType;
    private String createTime;

    public WxMsgResult(String nonce, String timestamp, Boolean isEncrypt, String toUserName, String openId, String fromUserName, String msgType, String createTime) {
        this.nonce = nonce;
        this.timestamp = timestamp;
        this.isEncrypt = isEncrypt;
        this.toUserName = toUserName;
        this.openId = openId;
        this.fromUserName = fromUserName;
        this.msgType = msgType;
        this.createTime = createTime;
    }

    public String getNonce() {
        return nonce;
    }

    public void setNonce(String nonce) {
        this.nonce = nonce;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public Boolean getIsEncrypt() {
        return isEncrypt;
    }

    public void setIsEncrypt(Boolean isEncrypt) {
        this.isEncrypt = isEncrypt;
    }

    public String getToUserName() {
        return toUserName;
    }

    public void setToUserName(String toUserName) {
        this.toUserName = toUserName;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getFromUserName() {
        return fromUserName;
    }

    public void setFromUserName(String fromUserName) {
        this.fromUserName = fromUserName;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}
